package com.yupi.yupicturebackend.manager.websocket.ws;

import com.yupi.yupicturebackend.manager.websocket.PictureEditHandler;
import com.yupi.yupicturebackend.manager.websocket.model.PictureEditRequestMessage;
import com.yupi.yupicturebackend.model.entity.User;
import org.springframework.web.socket.WebSocketSession;

public interface MessageHandler {
    void handle(PictureEditRequestMessage request,
                WebSocketSession session,
                User user,
                Long pictureId,
                PictureEditHandler context) throws Exception;
}